package com.draem0507.refactor;

/**
 * @title 提升字段
 * @desc
 * @atuh lwx
 * @createtime on 2015/11/13 11:15
 */
public class Day_5 {


     abstract class Account {
    }

    public class CheckingAccount extends Account {
        private int _minimumCheckingBalance = 5;
    }

    public class SavingsAccount extends Account {
        private int _minimumSavingsBalance = 5;
    }


    abstract class Account1 {
        protected int _minimumCheckingBalance = 5;
    }


    public class CheckingAccount1 extends Account1 {

    }

    public class SavingsAccount1 extends Account1 {
    }

}
